package com.bdmc.report.mapper;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.bdmc.common.annotation.DataColumn;
import com.bdmc.common.annotation.DataPermission;
import com.bdmc.common.core.mybatisplus.core.BaseMapperPlus;
import com.bdmc.report.domain.ReportCheckWork;
import com.bdmc.report.domain.bo.ReportCheckWorkBo;
import com.bdmc.report.domain.vo.ReportCheckWorkVo;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * 人员考勤Mapper接口
 *
 * @author bdmc
 * @date 2022-03-11
 */
public interface ReportCheckWorkMapper extends BaseMapperPlus<ReportCheckWork> {
    @DataPermission({@DataColumn(value = "d.dept_id")})
    Page<ReportCheckWorkVo> mySelectPage(@Param("page") Page<ReportCheckWork> page, @Param("param") ReportCheckWorkBo bo);
    
    @DataPermission({@DataColumn(value = "d.dept_id")})
    List<ReportCheckWorkVo> mySelectPage(@Param("param") ReportCheckWorkBo bo);
}
